﻿using GalaSoft.MvvmLight;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DATAGRID实例MVVM.Models
{
    public class Student:ViewModelBase
    {
        private int id;

        public int Id
        {
            get { return id; }
            set { id = value;RaisePropertyChanged(); }
        }

        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; RaisePropertyChanged(); }
        }


    }
}
